package com.zzx.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzx.business.domain.TbFileVersions;
import com.zzx.business.vo.TbFileVersionsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文件版本Mapper接口
 *
 * @author Zzx
 * @date 2025-05-23
 */
public interface TbFileVersionsMapper extends BaseMapper<TbFileVersions> {

    Page<TbFileVersionsVo> queryList(Page<?> page, @Param("entity") TbFileVersionsVo entity);

    List<TbFileVersionsVo> queryList(@Param("entity") TbFileVersionsVo entity);

    TbFileVersionsVo queryById(@Param("id") Long id);

}
